package com.fz.spring;

import com.fz.entity.Book;
import lombok.Data;

import java.util.List;

/**
 * Created by webrx on 2017/7/1.
 */
@Data
public class Hello {
    private String name;
    private Book books;
    private List<Book> bks;
    private Book[] addr;
    public void show02(){
        System.out.println("你好:"+this.name);
    }


    public void showBook(){
        System.out.println(books.getName());
    }
    public void showBook02(){
       /* for(List<Book> books:bks){

        }*/
    }

    public int show(int a){
        return a*a;
    }

}
